
import { ref, reactive, computed } from 'vue'
import { defineStore } from 'pinia'


export const useAdminerStore = defineStore("adminer", function() {
	const adminer = reactive({
        id: 0,
        nickanme: "",
        username: ""
    });


    /**
     * @param id {number}
    */
    function setID(id) { adminer.id = id; }
    function setNickname(nickname) { adminer.nickanme = nickname; }
    function setUsername(username) { adminer.username = username; }

	return {
        adminer,
        setID, setNickname, setUsername
    };
});

